package com.taxi.remote;

import com.taxi.result.Result;
import org.springframework.cloud.openfeign.FeignClient;
import org.springframework.web.bind.annotation.GetMapping;
import org.springframework.web.bind.annotation.RequestParam;

@FeignClient("service-passenger-user")
public interface ServicePassengerUserClient {
    @GetMapping("/user/list")
    public Result getUserList(@RequestParam int page, @RequestParam int limit, @RequestParam(required = false) String passengerPhone);
}
